﻿<%@ Page Language="C#" AutoEventWireup="true" CodeBehind="Default.aspx.cs" Inherits="MyDMS_ExtJS.Default" %>

<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
<html xmlns="http://www.w3.org/1999/xhtml">
<head id="Head1" runat="server">
    <title>系统登陆</title>

    <script type="text/javascript">

        // 本页面一定是顶层窗口，不会嵌在IFrame中
        if (top.window != window) {
            top.window.location.href = "./default.aspx";
        }
        
    
    </script>

</head>
<body>
    <form id="form1" runat="server">
    <ext:PageManager ID="PageManager1" runat="server"></ext:PageManager>
    <ext:Window ID="Window1" runat="server" IsModal="true" Popup="true" EnableClose="false"
        EnableMaximize="false" WindowPosition="GoldenSection" Icon="Key" Title="系统登陆"
        Width="350px">
        <Items>
            <ext:SimpleForm ID="SimpleForm1" runat="server" LabelWidth="45px" BodyPadding="10px"
                EnableBackgroundColor="true" ShowBorder="false" ShowHeader="false">
                <Items>
                    <ext:TextBox ID="tbxUserName" FocusOnPageLoad="true" runat="server" Label="帐号" Required="true"
                        ShowRedStar="true" Text="">
                    </ext:TextBox>
                    <ext:TextBox ID="tbxPassword" TextMode="Password" runat="server" Required="true"
                        ShowRedStar="true" Label="密码" Text="">
                    </ext:TextBox>
                    <ext:Button ID="btnSubmit" Icon="LockOpen" Type="Submit" runat="server" ValidateForms="SimpleForm1"
                        OnClick="btnSubmit_Click" Text="登陆">
                    </ext:Button>
                </Items>
            </ext:SimpleForm>
        </Items>
    </ext:Window>
    </form>
</body>
</html>